/*************************************************************************
    > File Name: 
    > Author: Lancer
    > Mail: 18826075768@163.com
************************************************************************/

#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <event2/event.h>

using namespace std;

int main(){
    int i;
    const char** methods = event_get_supported_methods();
    printf("libevent version is %s\n", event_get_version());
    for(i = 0; methods[i] != NULL; i++){
        printf("%s\n", methods[i]);
    }
    return 0;
}